<?php
// +----------------------------------------------------------------------
// | OneThink [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.onethink.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: 麦当苗儿 <zuojiazi@vip.qq.com> <http://www.thinkphp.cn>
// +----------------------------------------------------------------------

/**
 * 前台配置文件
 * 所有除开系统级别的前台配置
 */
return array(
    'DEFAULT_THEME' => 'green',
    'API_KEY'   => 'UcwUdVR33mNnmpuWLHDORDar',
    'DB_TYPE' => 'mysqli',
    'DB_HOST' => 'localhost',
    'DB_NAME' => 'n900',
    'DB_USER' => 'root',
    'DB_PWD'  => '123456',
    'DB_PORT' => '3306',
    'DB_PREFIX' => 'zb_n900_',
    'ZHIBAO_CONFIG' => array(
        'db_type'  => 'mysqli',
        'db_user'  => 'root',
        'db_pwd'   => '123456',
        'db_host'  => 'localhost',
        'db_port'  => '3306',
        'db_name'  => 'zhibao'
    ),
    'SESSION_PREFIX' => 'have', //session前缀
    'COOKIE_PREFIX'  => 'have_', // Cookie前缀 避免冲突
    'VAR_SESSION_ID' => 'have_id',	//修复uploadify插件无法传递session_id的bug
    'OBD_VERSION' => 258,
    'TMPL_PARSE_STRING' => array(
        '__STATIC__' => __ROOT__ . '/Public/static',
        '__ADDONS__' => __ROOT__ . '/Public/' . MODULE_NAME . '/Addons',
        '__IMG__'    => __ROOT__ . '/Public/' . MODULE_NAME . '/images',
        '__CSS__'    => __ROOT__ . '/Public/' . MODULE_NAME . '/css',
        '__JS__'     => __ROOT__ . '/Public/' . MODULE_NAME . '/js',
        '__PLUGINS__' => __ROOT__ . '/Public/' . MODULE_NAME . '/plugins',
        '__VENDOR__' => __ROOT__ . '/Public/' . MODULE_NAME . '/vendor'
    ),
);
